# 示例: 单分支 if 语句
score = 85
if score >= 60:
    print("恭喜，考试通过！")

# 示例: 多分支 if-elif-else 语句
score = 75
if score >= 90:
    print("成绩为 A")
elif score >= 80:
    print("成绩为 B")
elif score >= 70:
    print("成绩为 C")
else:
    print("成绩为 D")

# 示例: for 循环遍历列表
fruits = ["apple", "banana", "cherry"]
for fruit in fruits:
    print(fruit)

# 示例: while 循环打印 1 到 5
i = 1
while i <= 5:
    print(i)
    i += 1